﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmTestDate.aspx.vb" Inherits="KYC_frmTestDate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table style="width:100%;">
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    date.tostring</td>
                <td>
                    พ.ศ. 11/7/2554</td>
                <td>
                    ค.ศ. 11/7/2011</td>
            </tr>
            <tr>
                <td>
                    Date.Parse(&#39;11/7/2554&#39;, New CultureInfo(&#39;en-GB&#39;)) | Date.Parse(&#39;11/7/2011&#39;, New 
                    CultureInfo(&#39;en-GB&#39;))
                </td>
                <td>
                    <asp:Label ID="Label13" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Date.Parse(&#39;11/7/2554&#39;, New CultureInfo(&#39;th-TH&#39;)) | Date.Parse(&#39;11/7/2011&#39;, New 
                    CultureInfo(&#39;th-TH&#39;))</td>
                <td>
                    <asp:Label ID="Label14" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &#39;11/7/2554&#39;.ToString(New CultureInfo(&#39;en-GB&#39;)) | &#39;11/7/2011&#39;.ToString(New 
                    CultureInfo(&#39;en-GB&#39;))</td>
                <td>
                    <asp:Label ID="Label15" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label5" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label6" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &#39;11/7/2554&#39;.ToString(New CultureInfo(&#39;th-TH&#39;)) | &#39;11/7/2011&#39;.ToString(New 
                    CultureInfo(&#39;th-TH&#39;))</td>
                <td>
                    <asp:Label ID="Label16" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label7" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Date.Now.ToString(New CultureInfo(&#39;en-GB&#39;)) | Date.Now.ToString(New 
                    CultureInfo(&#39;en-GB&#39;)) </td>
                <td>
                    <asp:Label ID="Label17" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label9" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label10" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Date.Now.ToString(New CultureInfo(&#39;th-TH&#39;)) |&nbsp; Date.Now.ToString(New 
                    CultureInfo(&#39;th-TH&#39;))</td>
                <td>
                    <asp:Label ID="Label18" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label11" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Label12" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    System.Globalization.CultureInfo.CurrentCulture.DisplayName _
                    <br />
                    &amp; &quot; &quot; &amp; System.Globalization.CultureInfo.CurrentCulture.EnglishName _
                    <br />
                    &amp; &quot; &quot; &amp; System.Globalization.CultureInfo.CurrentCulture.Name</td>
                <td>
                    <asp:Label ID="Label19" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;DateTime.ParseExact(&#39;12122554&#39;, &#39;ddMMyyyy&#39;, New CultureInfo(&#39;th-TH&#39;))</td>
                <td>
                    <asp:Label ID="Label20" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;DateTime.ParseExact(&#39;25541212&#39;, &#39;yyyyMMdd&#39;, New CultureInfo(&#39;th-TH&#39;))</td>
                <td>
                    <asp:Label ID="Label21" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;DateTime.ParseExact(&#39;12122554&#39;, &#39;ddMMyyyy&#39;, New CultureInfo(&#39;en-GB&#39;))</td>
                <td>
                    <asp:Label ID="Label22" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    DateTime.ParseExact(&#39;25541212&#39;, &#39;yyyyMMdd&#39;, New CultureInfo(&#39;en-GB&#39;))</td>
                <td>
                    <asp:Label ID="Label23" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;DateTime.ParseExact(&#39;12122011&#39;, &quot;ddMMyyyy&quot;, New CultureInfo(&quot;th-TH&quot;))</td>
                <td>
                    <asp:Label ID="Label24" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    DateTime.ParseExact(&#39;20111212&#39;, &quot;yyyyMMdd&quot;, New CultureInfo(&quot;th-TH&quot;))</td>
                <td>
                    <asp:Label ID="Label25" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    DateTime.ParseExact(&#39;12122011&#39;, &quot;ddMMyyyy&quot;, New CultureInfo(&quot;en-GB&quot;))</td>
                <td>
                    <asp:Label ID="Label26" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    DateTime.ParseExact(&#39;20111212&#39;, &quot;yyyyMMdd&quot;, New CultureInfo(&quot;en-GB&quot;))</td>
                <td>
                    <asp:Label ID="Label27" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    CType(qAmlo(0), Date).ToString(New CultureInfo(&quot;th-TH&quot;))</td>
                <td>
                    <asp:Label ID="Label28" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    CType(qAmlo(0), Date).ToString(New CultureInfo(&quot;en-GB&quot;))</td>
                <td>
                    <asp:Label ID="Label29" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    qAmlo(0)</td>
                <td>
                    <asp:Label ID="Label30" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Date.Parse(qAmlo(0).ToString, New CultureInfo(&quot;th-TH&quot;)).ToString</td>
                <td>
                    <asp:Label ID="Label31" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Date.Parse(qAmlo(0).ToString, New CultureInfo(&quot;en-GB&quot;)).ToString</td>
                <td>
                    <asp:Label ID="Label32" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
